package cn.wolfcode.util;

import lombok.Getter;

@Getter
public enum AllMsgEnum  {
    BUSINESS("Business","business.name"),
    YEAR("Year","DATE_FORMAT(consumption.pay_time,'%Y')"),
    MONTH("Month","DATE_FORMAT(consumption.pay_time,'%Y%m')"),
    DAY("Day","DATE_FORMAT(consumption.pay_time,'%Y%m%d')");
    private String sql;
    private String name;

    AllMsgEnum(String name,String sql){
        this.name=name;
        this.sql=sql;
    }



}
